some error handling + basic TV module