added stuff from koding