added method to logic panel class