sample writing to sqs