shifts function location for easier testing.