added config.h functions