adjusting style functions