getting and cleaning data assignment