functionality added to movie model