dependency functions change to avoid space dependency