Some dirty hacks