This is untested as is! It may work!