modification for creating package