implemented first version of inactive states