Model based planning added