added a title parameter in initializeEverything