pinhole model with ill