Added subjet functionality