using String array instead of Object array