Trying to make it work using the example