Kubrick preferred to collaborate with writers who were not professional screenwriters, with whom, over the course of long chats, he would work out scripts. These were never final and would be reworked with the actors during filming and even into the editing room.