+commented. added check