protocol validation added