fixed rows
fixed bug
updated documentation