panel works properly