Added solution for target 2