better package installation method