Some funky register tricks