missing strict mode
minor codestyle improvements