Made the runtime system work