Check if data has been changed
Add more variables