first working automat