commit 2 w/ subroutine