simple logic functions (look inside) | ScratchStats