Added function micore