Replaced call with invoke