did a database exercise in class