Mostly works... can't get output to print, always says null