add warnings to installation
refactor