latest get categories and details added

its in commented