added function styles