formatting and warnings