passed this code off, still has bug
...
passed off this code, still has bugs