iternary saved in db