updated
cleaned up print states