panic instead of returning error