added data downloading