border added to main