winner declared but not printing to view