compare input with module data