Why doing the check twice ?