added zero validation