* renamed some variables
* coding guidelines
* use getContainer()