math properly