Generating position imporeved