initialize if defined