use register k instead of fetching selection