metadata stored in database