give nawak its own error handling