fixed ex 6