How are teams formed?