Made private functions static.
Make width customisable.