updated calc for clarity