added ore code