python sample kind-of works