Superfluous code
cleaning up device view a bit
Finished segment view