updated: validation (added: model param)