Corrected Format of deadline and trying to add to applied table - half done, check sql