added new functions and DES file