no need to ban modes or use from_slice anymore