changed to md5 formula