changed callback to run on completion of get request