commit
add output function