just added state variable, but not usable..