working through basic examples