updated style functions