remove md5 and implement getElements