adding further functionality to mock-server