reducing variables, new door class