use const char pointer for queue input functions