A simple implementation of the api-problem specification