Joel's low-level implementation goes here :)