finished stack as array