Sf0x test

@thomasgubler Let's rock and roll!
@thomasgubler Set the debug variable to true to enable this output, you also might need to put it above the if(!valid).. return statement above, as it will never be executed else.