added action obj instead of entity.