moved atan to a different project