change Method to ClassMethod