adding a small usecase for validation