Should there be some kind of error handling here?