-minor errors fixed