moved controller example