silenced some "set but not used" warnings