Added back-end functionality