Changed home so maps generated by one function