have problems with arrays