updated to new packgram API
min