changing it so that all necessary items are loaded