add imagine dependency