try removing function approach