inital commit
use local vars for the functions