add extension method and new validations