first and last border on qs