added helper tables, display table in file loading
added draw function