removed deprecated code from lab 8