adding controller component