hooked PLY parser to model rendering code