print func and style