throw -> error for better formatting