first version to pass make check