Added business logic for first-node functions.