added controller example