changed to tagged input