finished modifying the functions for 1 billion year old gas giants