Performing calculations (part 1)