Go to an empty classroom then. There are tons around Hogwarts. And if you really want to spend your free time doing your homework, then do it somewhere else. Ever thought you might be the one disturbing the rest of us while we're at the table? It's hard to get at the roast when there's a bloody book in the way.
no subject