display now works correctly