encoding strategy