change where func gets called