add border to contents