//flex table opened by JP