double pipe initialisation bit me in the ass