need to test this on a fresh db