updated to use md5