solved asserts and operators