Removing validate function