graduation project -- tornado version