removed doubled snippet