added some css and case insensitivety