started documenting and testing intrinsics