updating usage to show that valid? is an instance method