put each method in separate files