reverting to old angle code