some useful hacks