transpose and det added