added onlyFor method