First version with four parts and configuration issues due to scope limitations