fixed the using matcher and refactored to give a meaningful positive error messge.
fixed negative errors and description