improved version without 3d transform;