some point calculations