Some polish like avoiding stack overflow