Improved movie code