restructuring code
restructuring and done Selected Graph Items