cont should be checked befoer any further processing