adding additional attributes and css adjustments