added medium layout