added isEven and not functions