preference is done