basic array displaying and basic api pasted in