added reg controller