exended the fan part