this is a segment project for PHP