refs now save to db...