updated package with more functions