added date to onClick event;