put into proper package format.