added rainbow mode
added some snippets