updated for sprint. removed unused var.