Related work. First part of implementation.