This pretty much works.