added date default value and position