Adding borders to check problem