Oops, forgot to include the ever important init statement. It doesn't crash now, hopefully it actually works: