Feature/device width

feature for #31