Factorization with functions, comments