WIP: implement first sample that works