Adding Hash-Class to verify correct transmission
remove unneeded code