added new functions to make movies