Oopsie.. I made a typo. Not sure why this implementation works XD