try getpts()