adding WriteCommand message