added active and inactive states