still testing less by adding border variable