backend sketch