Revise snippet