Trying to get program to compile