Rejection logic implemented, code needs a clean up from debugging; tests pass at a ~97% rate