Working on backend functions.