creates an empty display
added Error class