added classes recursive fixed