added 2 sub moduels A and B