move actions into actions object