added reject_if proc to assignment