Make sample actually work