under development of return to dock logic. now class variables are shared_ptr