added comments to mock