changing the deadline code