updated to ensure proper interaction between files
updated to ensure proper interaction between files