get permutable function