Added currentPos var.