added onlyDigital attr.