initial commit of blake's functions