added some css functionality