Add compose method as argument