fixed return type for values which are not needed.