moving specific fn to this project