A study of hydrogen transport during plastic deformation