Added some of parsing and length checker