undid my hack to get the program running