removed shared inputs and orphan column treatment