trying to sortout deployPanel