Before compilation moc