Before making controller