if theres nothing to return, doesnt return an empty array anymore