modified settings, added minified version
added test code