backup nasty but commented code