changed recursiv from static to normal