Wrote same subroutine twice, yikes!