add functions for google app engine dev