deadline check function

also fixed notation
updates