better way to get the type of the movie