made acceleration due to gravity a constant