select and insert default function add