changing spans on output