Removed export of permute!!