changing this to assert