adds ceiling to calculations to return whole numbers
deleting comments that are no longer needed