more progress on flexible backends