Adding MAX library