added reject function