added panel nested class