- minor code style changes
- added string constant as resource