returns array that can be read through JSON