changed md5 method to public