adjusted coding style in programming guide