adding active/nonactive