type check of result
output md5 as well for debug purposes