ensure required data is present