parser and box creation