testing for levels