preliminary formatting