add record prototype