Same logic as movies.py but doesn't work yet