working version of panda level; testing of raising error does not work yet