init from http://webfrogs.github.com