changed deadline to type date