A fetion worked on GAE