lab1 functionality working