more functions from other flask apps