use first and rest