How Erbium Doped Fiber Amplifiers Work?