uses variable for version