full functions, migrating to MAX 32

be careful, now program mem > 128K so MAX32 is required