a bit of formatting even though this will be extracted out