added panel controller