Made changes to reject command