tabalize func making