Added a variable for check