main() to avjoke()