progress in implementing from_db