Stuff
Added a debug option
Added prototyping