center tables in container
fixed formatting, added placeholder for error handling