add maps prototype