improved snippet triggers