removed dependancy on config.h