implement kelvin layout template