checking math in console