removed duplicate assignments