modularizing things