It works! See code.