minor mistakes fixed