added polyinfer and simple gc sample.