adding support to medium and large devices