adding assert500 method