Action operator < overload and changed body->greet() to actions element