building HDAMA the old way and the new way: