setDate should be setData