working on implementing non-tutorial examples