modified of manual version