Changed variables case to match API