added basic setup code