Panel logic implemented