before seperation of methods