modified get_special to work with print.c