added a basic framework to insert values.