swtiched to using mongoose