Attempted integration with controller - todo