adding more basic classes, implemented equality check