add new func. for new record