extract methods to new files