added variables to loadInstagram function