Check for parameter omission
Actually prefer promises