nearly finished with backend