moved border to a variable