second copy update, based on loets comments