formatting (i have no idea what i'm doing in c)