Possible Implementation

I was just messing around with the code tonight and got a rough path
running...the code is a bit poorly written it seems and there's some
unfinished things that cause it to freeze up.