Added Online Validation Function