Working on sharing algorithms