this makes it run, but it doesn't match output