added controller API