started using cos and pmi