first part of distributed system