moved style into the element