Removed debug output from getOrigin function