corrected objekt return function