adding the text package code