edited snippit