Updated value to int as API has changed