trying to get permute shingle factory working