working on motif db