Can you please add some error checking here?