added basic config code