added minimal error example