implementation using waterline orm