Still struggling with unused variables warning