wrapper lib for cgGL