add required check