changed Data to interface