suppresses "explicitly assigning a variable to itself warning" and potential unused parameter warnings