parsing request messages