Getting 0th order correct output