add parse commands functions