added basic configuration code