changed sout to assert