formatting implemented