made changes to spacing in end