Simplification of snippet