preparing call of turn penalty function