make class method. improve method name