modetour code snippets