commit before I change the main astrewriter function