manage simple states within our controller