Added Core Code