setting value to mock