Complete basic back-end function with form