cleaning up basic example