array issues, string functions