moved func calls