got basic map functionality working