userdata and mocks