rename validate to compare in readme