Input altered for the new pattern