mocked up methods