minify file in order to dist
encapsulate states in function
tabs
dist