implemented detail level and level check