fixed bug
fixed bugs
updated documentation