Attempting fix to API