add pass functunality