reject and accept methods added