test working, but not saving to db