lab1 improved