Move some functions to jesse