added bijection function