print functions for config