added classes to details