final version for deadline