added function call accidentally dropped in commit c0707ddf