modify the getDatas method