redundancy removal in user mock