work on bsp parse