everything works

sadly with int array in stead of fancy stuff