corrected variable type