whoops, left-over code from a thrown-away approach