Added functionality to movies.java