added mongoose
merged ray