uncommented upload portion