master: added some check for the input, but the results are not yet handled