close connection every time for now
formatting