implemented determinants