gives output, maybe even correct output