adds border to primary