added id as an argument to Client#initialize