working through examples