killing off unused vars