initial pip func