now with rudimentary support for small, medium and large devices