snippets in solving wechall challenges