Add some client logic, status to function state