Added door functionality