added date type to input support