integrating with module
almost proper output
run no longer outputs sequence
working for 10