removed unnecessary controller main