how do I know when is a formation illegal? and how go I set the first? Thanks