moved serial to domain.pp