lab1 upgrade