ast modifications: declaration changed from hash to list. Also changed margin declarations