really nice working gem. but now without copying :-(