add some cloud functions