store print as array