encoding instructions