changes due to api change