add variable checking strucrture