default method similar to Hash