added @todo
controller construction added to try block