Not as elegant as the original but will work