First solution to THE BUG