added a triangle sample and resonance model