styling and digest apply