Removed unnecessary global variables which are identifying each memory module