back end code nearly complete