added hemisphere code