1st working version (60% acc)