separate method to General class