cuts out some garbage and completes some things