rudimentary chart implemented