Working on passing  into functions