fixed few bugs, comments added, test added