Added ugly *printf(), not tested yet.