add setDate & getDate methods