I've written all of Akshay's code, but there are still plenty of issues.