adding node scala