remove Contract keyword and replace for API