Function style fix