Main Controller logics