This was written at appigee workshop