implement parse request