stage 1 - reading from config file