using our own difficulty "api"