initial codes for q3 bsp