responsified the type and borders