array solutions