added, improved lab3