Added check for required call parameters