reviewed the basics

added sample code for replacing