attampt at rmg-py