add code for finding interior points