use local assigns so page does not break when variable is not passed