completed first chapter of tutorial