replaced md5 with hashlib.md5 - the updated version