added dependency check for nitrogen