Try to handle errors properly...