progress on sql-izing node statuses