implementing more readable math