Use lambda methods for task actions