Made it compileable

It now compiles out of the box.