border test
remove "offset" logic