add class and method for check needed arguments