modified mock