replaced 'frame' by 'package'; frame class replaced by list class