implemented accept / reject