added more functions to radio in preparation for calculation
added more constants