Changed from flags to string statuses