old c++ standard :-/