pulled action parameters from inside the payload to outside of it