unused vars and functions