reformated, optimized imports, add showing moving figures