changed type to style in properties