add functionality of Date