Working but insecure.  Let's have another go at thiss...