lots template building and some css