completed logic to not execute math inside each function, i.e. return true or false for a check and decide to skip logic accordingly