read up to stack version 5