still handle array main