add, sort and install functions!