- added draw container function