added md5 method