Added getOrigin Method