problem solved: log on p calculations