principal functions of database worked