before publishing