added code for diagram of approaches