worked with assert