pulls data and address from contract