Movie database homework