Modularizing methods