implement Logic Expressions and more classes