Converted to use movies database