Added reading frequency value from xml