operator, security, calculator logic implemented completely