add deadline feature