added classes hierarchy