adding weekend factorization and plot