Added a dynamiccontroller, could perhaps be done better... but I cba