lab1 modified