removed comparison between unsigned and signed