revert last commit: code is in fact used