use own libcore