The D5100 I have came with a cover for the viewfinder, I read somewhere it's a good idea to cover the viewfinder when doing long exposure shots....