mostly done partial crypt