Using Thor instead of controller