adding debugging line to see when ret is called