We need to catch and handle errors from here