do an install also
refactor into functions.