retuns array instead of just the url