Unused var
Add ways of detectin change