added function to make movies