Revised snippet