where method written