adapt formatting