updated slices and added instance discovering