lab4 ready for representation
improved lab4