simplify has snippet