Working on checking of variables