added more door code