More dodgy code that actualy doesnt crash