rearrange constants