add flags, loading animation