many minor errors