adding factor stuff