working on passing value