added flow diagram image