unused variables ref, page