added ebaniza's code for md5