Factored

I don't know if this is good...