add a status binder that handles database cursor