Lab 1 basic functionality