modified the borders