this problem calls for a trip to #math