move asserts to asserts