old examples implemented