further code practice.
 - added bars feature
 - added range()