corrected the spaces and made a macro for the duplicated code