add pretty formatting