Check arguments. New functions