working through first chapter