Some crazy code