move into new grabbag lib