First hackish implementation