adding parameters 'tag' and 'a' to the payload