add reject functionality and fix cards