chart works
minor changes