working on exportJustMainArea